package com.woniuxy.dto;

/**
 * @ClassName UserEnum
 * @Description 用户状态码及信息枚举类
 * @Author 王昊波
 * @Version 1.0
 **/
public enum DtoUserEnum {

    SUCCESS("200","登录成功"),
    PASSWORDERROR("1001","密码错误"),
    USERNOTEXIST("1002","用户不存在");

    String code;
    String message;

    DtoUserEnum(String code, String message){
        this.message=message;
        this.code=code;
    }

    public String getMessage() {
        return message;
    }
    public String getCode(){
        return code;
    }
}
